﻿namespace CoreModule
{
    /// <summary>
    /// 下拉项 的本地化
    /// </summary>
    public interface ILocalizationProvider
    {

        /// <summary>
        /// 实例
        /// </summary>
        public static ILocalizationProvider Instance { get; set; } = new CnLocalizationProvider();

        /// <summary>
        /// 获取血压状态下拉列表
        /// </summary>
        /// <returns></returns>
        List<KeyValuePair<string, BloodGlucoseStatus>> GetBloodGlucoseStatusDropDownItems();

        /// <summary>
        /// 获取血压状态对应的描述
        /// </summary>
        /// <param name="bloodGlucoseStatus"></param>
        /// <returns></returns>
        string GetDescription(BloodGlucoseStatus bloodGlucoseStatus);

        /// <summary>
        /// 获取时段下拉列表
        /// </summary>
        /// <returns></returns>
        List<KeyValuePair<string, BloodGlucosePeriod>> GetBloodGlucosePeriodDropDownItems();

        /// <summary>
        /// 获取时段对应的描述
        /// </summary>
        /// <param name="bloodGlucoseStatus"></param>
        /// <returns></returns>
        string GetDescription(BloodGlucosePeriod bloodGlucoseStatus);


    }
}
